package com.zgjkhis.modules.outpatient.service.impl;

import com.zgjkhis.common.service.impl.BaseServiceImpl;
import com.zgjkhis.modules.outpatient.domain.AccountLabel;
import com.zgjkhis.modules.outpatient.dto.AccountLabelDto;
import com.zgjkhis.modules.outpatient.service.AccountLabelService;
import com.zgjkhis.modules.outpatient.service.mapper.AccountLabelMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *
 * @Author yxl
 * @Description 患者标签
 * @Date 2021/7/19 11:17
 **/
@Service
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true, rollbackFor = Exception.class)
public class AccountLabelServiceImpl extends BaseServiceImpl<AccountLabelMapper, AccountLabel> implements AccountLabelService {

    @Override
    public List<AccountLabelDto> findListByAccountId(Long id) {
        return baseMapper.findListByAccountId(id);
    }
}
